package com.mewpipe.entity;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;




@Entity
@Table(name="lnkuservideo")
@XmlRootElement
public class LnkUserVideo implements Serializable {

	public LnkUserVideo(){}
	public LnkUserVideo(long IdUser,long IdVideo)
	{
		this.UserID=IdUser;
		this.VideoID=IdVideo;
	}
	private static final long serialVersionUID = 1L;
	//ID auto increment
	@Id	@GeneratedValue(strategy=GenerationType.AUTO)
	private Long id;
	private Long UserID;
	private Long VideoID;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getUserID() {
		return UserID;
	}
	public void setUserID(Long userID) {
		UserID = userID;
	}
	public Long getVideoID() {
		return VideoID;
	}
	public void setVideoID(Long videoID) {
		VideoID = videoID;
	}
	
	
	
	
}
